<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$pageTitle}</title>
<link href="{$WEB_ROOT}css-include/style-race.css{'?'|random_number}" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{$WEB_ROOT}include-js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="{$WEB_ROOT}include-js/main.js{'?'|random_number}"></script>
</head>
<body>
<div id="sub-wrapper">
	<div class="header-wrapper">
    	<div class="headtop"></div>
  	</div><!--header-wrapper -->
	<div class="inner-body">
    	<div class="nav-two">
	      	<ul>
		        <li><a href="{$REAL_ROOT}">Home</a></li>
		        <li><a href="{$REAL_ROOT}ranking/">Current Ranking</a></li>
		        <li><a href="{$REAL_ROOT}my_event/">{if $smarty.session.email}My Event(s){else}Submit your event{/if}</a></li>
	      	</ul>
	      	<form action="{$REAL_ROOT}search/" style="float:right;" onsubmit="return !(this.keyword.value=='');">
		      	<span class="Text1">Search</span>
	      		<input name="keyword" type="text" value="{$smarty.get.keyword}" />
	       		<input type="image" src="{$WEB_ROOT}images/go-button.png" alt="Go Button" />
       		</form>
		</div>
		<div class="leftnav">
			<a href="http://www.zico.com/shop/" target="_blank">
				<img src="{$WEB_ROOT}images/zico1.png" alt="Zico - Pure Coconut Water" border="0" style="padding-left:13px; padding-bottom:20px;" />
			</a>
      		<div class="nv-top"></div>
      		<div class="nv-content3">
      			<br />
      			<a href="{$REAL_ROOT}ranking/result/">
        			<span class="title3">
		          	The 100 Toughtest &nbsp;&nbsp;&nbsp;Races in the World</span></a>
        		<br /><br />
        		<ul>
        			{foreach from=$events item=_event}
        			<li><a href="{$REAL_ROOT}event/{$_event->name|seourl}/">{$_event->rank}. {$_event->name}</a></li>
        			{/foreach}
	        	</ul>
	      	</div>
	      	<div class="nv-bottom"></div>
		</div><!-- end of leftnav-->
	    <div class="rightbody">
	    	{include file="$bodyTpl"}
		</div><!-- end of rightbody-->
	</div><!-- end of inner-body-->
</div><!--endo of sub-wrapper -->

<div style="clear:both;"></div>
<div id="footer-wrapper-100">
	<div class="footer-inner-100">
    	<div class="nav-two"></div>
    	<span class="footer1">
    	<a href="http://www.peak.com/">
    		<img src="{$WEB_ROOT}images/peak.png" alt="Peak.com" width="173" height="103" border="0" /></a>
    	<a href="{$REAL_ROOT}network/">
    		<img src="{$WEB_ROOT}images/network.png" alt="People Like You" width="173" height="103" border="0" style="padding-left:45px;" /></a>
    	<a href="http://www.camps.peak.com/">
    		<img src="{$WEB_ROOT}images/peakcamps.png" alt="Life Changing Experiences" width="173" height="103" border="0" style="padding-left:45px;" /></a>
    	<a href="http://www.races.peak.com/"><img src="{$WEB_ROOT}images/peakrace.png" alt="Only Serious People Apply" width="173" height="103" border="0" style="padding-left:45px;" /></a><br />
    	<br />
    	&copy; 2009 Peak 100. All rights reserved.</span>
	</div>
</div><!--footer-wrapper-->

</body>
</html>
